#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	
	int arr[10] = { 9, 5, 7, 2, 4, 6, 3, 1, 8, 11 };
	for (int i = 0; i < 9; i++)
	{
		for (int j = 0; j < 9-i ; j++)
		{
			if (arr[j]>arr[j + 1])
			{
				
				 int t = arr[j];
				arr[j] = arr[j + 1];
				arr[j + 1] = t;
				
			}
		}
	}
	for ( int n = 0; n < 10; n++)
	{
		printf("%d\n", arr[n]);
	}
	
	return 0;
}